"use client";

import {useSecuStore} from "@/stores/secu-store";
import {useEffect} from "react";


export default function SecuInfo(props: { code: string }) {
    const {code} = props;
    const {fetchSecuInfo} = useSecuStore();
    useEffect(() => {
        fetchSecuInfo(code).then(resp => {
            console.log(resp)
        })
    }, [])
    return <div>
        secu info page
    </div>
}